    <div class="row" id="page-gitbook">
        <h1 class="page-header">采集管理</h1>

        {{template "CrawlTabs" .}}

        <div class="panel panel-default">
            <div class="panel-heading wenku-no-pdl clearfix">
                <form class="form-horizontal" role="form">
                    <input type="hidden" name="type" value="{{.Type}}">
                    <div class="col-xs-5 col-sm-4 com-lg-3">
                        <div class="input-group">
                            <span class="input-group-addon">搜标题</span>
                            <input type="text" class="form-control" name="title" value="{{.title}}" placeholder="请输入您要搜索的标题关键字">
                        </div>
                    </div>
                    <div class="col-xs-5 col-sm-4 com-lg-3">
                        <div class="input-group">
                            <span class="input-group-addon">搜Topic</span>
                            <input type="text" class="form-control" name="topic" value="{{.topic}}" placeholder="请输入您要搜索的标签">
                        </div>
                    </div>
                    <div class="col-xs-2 col-sm-4 com-lg-3">
                        <button type="submit" class="btn btn-default">搜索</button>
                        <span class="pull-right">总计：<span class="text-success">{{.TotalRows}}</span> 个文档</span>
                    </div>


                </form>

                <form action="">
                    <div class="col-xs-12 help-block">以下是文档发布分类选择</div>
                    <textarea id="CatesJson" style="display: none;">{{.CatesJson}}</textarea>
                    <div class="wenku-mgt-15px">
                        <div class="col-xs-3">
                            <select name="Chanel" class="form-control level-top">
                                <option value="0" >请选择频道</option>
                                {{range .Cates}}
                                {{if eq .Pid 0}}
                                <option value="{{.Id}}" >{{.Title}}</option>
                                {{end}}
                                {{end}}
                            </select>
                        </div>
                        <div class="col-xs-3">
                            <select name="Parent" class="form-control level-one">
                                <option value="0" >请选择一级分类</option>
                            </select>
                        </div>
                        <div class="col-xs-3">
                            <select name="Children" class="form-control level-two">
                                <option value="0" >请选择二级分类</option>
                            </select>
                        </div>
                        <div class="col-xs-2">
                            <input type="number" name="Uid" class="form-control" placeholder="请输入发布者的UID">
                        </div>
                        <div class="col-xs-1 wenku-nopadding">
                            <button type="button" class="btn btn-default btn-gitbook-publish">发布选中</button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="panel-body">
                <div class="table-responsive">
                    <div id="dataTables-example_wrapper" class="dataTables_wrapper form-inline" role="grid">
                        <table class="table table-striped table-bordered table-hover dataTable no-footer" id="dataTables-example" aria-describedby="dataTables-example_info">
                            <thead>
                            <tr role="row">
                                <th><label><input type="checkbox" value="0" class="checkbox-all"></label></th>
                                <th>#</th>
                                <th>Topics</th>
                                <th>标题</th>
                                <th>名称</th>
                                <th>摘要</th>
                                <th>Stars</th>
                                <th>Gitbook发布状态</th>
                                <th>本站发布状态</th>
                                <th>本站下载状态</th>
                                <th>语言</th>
                                <th>错误</th>
                                <!--<th>操作</th>-->
                            </tr>
                            </thead>
                            <tbody>
                            {{range .Data}}
                                <tr>
                                    <td><input type="checkbox" class="checkbox-item" value="{{.Id}}"></td>
                                    <td>{{.Id}}</td>
                                    <td>{{.Topics}}</td>
                                    <td>
                                        <a href="https://www.gitbook.com/book/{{.Unid}}/details" target="_blank">{{.Title}}</a>
                                    </td>
                                    <td>
                                        {{.Name}}
                                        <hr>
                                        Unid:{{.Unid}}
                                    </td>
                                    <td>
                                        <textarea name="Description" rows="3" class="form-control" style="min-width: 150px;">
                                            {{.Description}}
                                        </textarea>
                                    </td>
                                    <td>{{.Stars}}</td>
                                    <td>{{.Status}}</td>
                                    <td>
                                        Pdf:{{.PublishPdf}}<br>
                                        Epub:{{.PublishEpub}}<br>
                                        Mobi:{{.PublishMobi}}<br>
                                    </td>
                                    <td>
                                        Pdf: {{.DownPdf}}<br>
                                        Epub: {{.DownEpub}}<br>
                                        Mobi:{{.DownMobi}}<br>
                                    </td>
                                    <td>{{.Language}}</td>
                                    <td>
                                        ErrPdf：{{.ErrPdf}}
                                        <br>
                                        ErrEpub:{{.ErrEpub}}
                                        <br>
                                        ErrMobi:{{.ErrMobi}}
                                    </td>
                                    <!--<td>-->
                                        <!--<a href="#">删除</a>-->
                                        <!--<a href="#">发布</a>-->
                                    <!--</td>-->
                                </tr>
                            {{end}}
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>

    